package kis.designpattern.decorator;

import java.util.Date;

public abstract class Decorator extends Component {
	protected Component component;
	public Decorator(Component c){
		this.component=c;
	}
	@Override
	public double claculatePrize(String user, Date beginDate, Date endDate)
	{
		return component.claculatePrize(user, beginDate, endDate);
	}

}
